package org.zyl.springboot.mybatis.template.conf;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.zyl.springboot.mybatis.template.e.GeneralConstant;

@Configuration
public class RabbitmqConfig {
	@Bean
	public Queue queue() {
		return new Queue(GeneralConstant.TOPIC_ZYL_MSG);
	}
}